package com.kim.seata.caller.server.service.feign;

import com.kim.seata.caller.server.service.feign.impl.UserInfoFeignServiceImpl;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author KimWu
 * @date 2020/6/2 9:01
 * @Description ：
 */
@FeignClient(value = "kim-seata-order-receiver", fallback = UserInfoFeignServiceImpl.class)
public interface UserInfoFeignService {

    @RequestMapping(value = "/userInfo/addNoSeata", method = RequestMethod.POST)
    String addNoSeata();

    @RequestMapping(value = "/userInfo/addSeata", method = RequestMethod.POST)
    String addSeata();
}
